#! /bin/bash

. gitlab-common.sh

# 目录方案
#
# if test ! -d "$PROJECT_DIR"; then
#     echo "Project dir not found: $PROJECT_DIR"
#     exit 1
# fi
# 
# for file in `ls $PROJECT_DIR`; do 
#     . $PROJECT_DIR/$file
#     echo "$file: $PROJECT_URL"
# done
#
# 新方案：

yq '.projects | .* | [key,.url] | join(": ")' $CONFIG_FILE
